package cn.yunhe.entity;

import java.util.ArrayList;
import java.util.List;

public class Admin {
	private int a_id;
	private String a_name;
	private String a_pass;
	private String a_flag;
	private List<News> newss = new ArrayList<News>();
	
	public Admin() {
	}
	public Admin(int a_id, String a_name, String a_pass, String a_flag) {
		this.a_id = a_id;
		this.a_name = a_name;
		this.a_pass = a_pass;
		this.a_flag=a_flag;
	}
	public List<News> getNewss() {
		return newss;
	}
	public void setNewss(List<News> newss) {
		this.newss = newss;
	}
	public String getA_flag() {
		return a_flag;
	}
	public void setA_flag(String a_flag) {
		this.a_flag = a_flag;
	}
	public int getA_id() {
		return a_id;
	}
	public void setA_id(int a_id) {
		this.a_id = a_id;
	}
	public String getA_name() {
		return a_name;
	}
	public void setA_name(String a_name) {
		this.a_name = a_name;
	}
	public String getA_pass() {
		return a_pass;
	}
	public void setA_pass(String a_pass) {
		this.a_pass = a_pass;
	}
	
}
